<template>
    <div class="table-container">
      <div class="table-container__top">
        <div class="table-container__top--title">选择评估内容</div>
      </div>
      <div class="assess-container">
        <assessment-first :id="assessId" @go-next="handleGoNext"></assessment-first>
      </div>
    </div>
</template>

<script setup>
import AssessmentFirst from './component/AssessmentFirst.vue'
import { ref } from 'vue'
import { useRouter } from 'vue-router'

const router = useRouter()

//评估内容填完后 确认工作计划
const handleGoNext = (data) =>{
  router.push({ path: './add',query:{ id : data}})
}

</script>
<style lang="scss" scoped>
.table-container{
  min-height: calc(100vh - 80px);
}
.assess-container{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
</style>
